package com.xhorse.lockplatform.service;

import com.xhorse.lockplatform.model.*;
import com.xhorse.lockplatform.model.pojo.BrandInfo;
import com.xhorse.lockplatform.model.pojo.CarMake;
import com.xhorse.lockplatform.model.pojo.ResponseKeyInfo;

import java.util.List;

public interface KeyGeneratorService {

    List<XhUpdateInfo> selectLogByVersion(int regionId, int languageId);

    void generateZipFile(String imgversion, String dbversion, String newVersion, int regionId);

    int findImgVersion();

    int findDataVersion(String dbVersion, int regionId);

    int findBrandVersion(String dbVersion, int languageId);

    List<BrandInfo> findBrand(String dbVersion, int languageId);

    List<XhModel> findModelByBrandId(XhModel xhModel);

    List<XhKey> findKeyByModelId(XhKey xhKey);

    List<CarMake> remoteInfoGenerate(String dbversion, int languageId);

    List<ResponseKeyInfo> chipGenerate(String dbversion, int languageId);
}
